import { ActionTree, Module } from "vuex";
import { make } from "vuex-pathify";
import { ISystemState, SystemState } from "@/model/SystemState";
import { IState } from "@/frame-config/store/index";

export default class System implements Module<ISystemState, IState> {
  public namespaced = true;

  state: ISystemState = new SystemState();

  mutations = make.mutations(this.state);

  actions: ActionTree<ISystemState, IState> = {
    ...make.actions(this.state)
  };

  getters = {};
}
